package cn.com.zero.manager.auth.vo;

import cn.com.zero.base.vo.BaseVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author Huangyong
 * @version 1.0.0
 * @Description
 * @createTime 2023-2-28 9:55
 */
public class OnlineManagerVO extends BaseVO {

    /**
     * 用户编号
     */
    private String userID;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 最后登录时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastLoginTime;

    /**
     * 登录IP
     */
    private String loginIp;

    /**
     *手机号
     */
    private String showMobile;

    /** 手机号码(密文)*/
    @ApiModelProperty(value = "手机号码(密文)")
    private String mobile;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 在线时长中(登录小时)
     */
    private String loginHour;

    /**
     * 在线时长中(登录分)
     */
    private String loginMin;

    /**
     * 登录设备：1：pc-web 2：android 3：ios 4：mobile-web
     */
    private Integer loginClient;


    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public String getShowMobilePhone() {
        return showMobile;
    }

    public void setShowMobilePhone(String showMobilePhone) {
        this.showMobile = showMobilePhone;
    }

    public String getMobilePhone() {
        return mobile;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobile = mobilePhone;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getLoginHour() {
        return loginHour;
    }

    public void setLoginHour(String loginHour) {
        this.loginHour = loginHour;
    }

    public String getLoginMin() {
        return loginMin;
    }

    public void setLoginMin(String loginMin) {
        this.loginMin = loginMin;
    }

    public Integer getLoginClient() {
        return loginClient;
    }

    public void setLoginClient(Integer loginClient) {
        this.loginClient = loginClient;
    }

}
